package com.huarui.code.service;

import org.ewaf.framework.service.BaseService;
import com.huarui.code.dao.ICodeGenericDao;

public class CodeGenericService extends BaseService {

	private ICodeGenericDao getDao() {
		return (ICodeGenericDao)dao;
	}

	public String getNewCode(Integer companyId, String documentName) {
		return getDao().getNewCode(companyId, documentName);
	}
}
